/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.partycard.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * partyCardEntity
 * 
 * @author zhangfn
 * @version 2017-09-18
 */
public class Partycard extends DataEntity<Partycard> {

	private static final long serialVersionUID = 1L;
	private String personid; // personid
	private String hashnumber; // hashnumber
	private String cardnumber; // cardnumber
	private String personname; // personname
	private String orgid; // 党支部id
	private String column3; // 是否考核
	private String column4; // column_4

	public Partycard() {
		super();
	}

	public Partycard(String id) {
		super(id);
	}

	@Length(min = 0, max = 64, message = "personid长度必须介于 0 和 64 之间")
	public String getPersonid() {
		return personid;
	}

	public void setPersonid(String personid) {
		this.personid = personid;
	}

	@Length(min = 0, max = 64, message = "hashnumber长度必须介于 0 和 64 之间")
	public String getHashnumber() {
		return hashnumber;
	}

	public void setHashnumber(String hashnumber) {
		this.hashnumber = hashnumber;
	}

	@Length(min = 0, max = 64, message = "cardnumber长度必须介于 0 和 64 之间")
	public String getCardnumber() {
		return cardnumber;
	}

	public void setCardnumber(String cardnumber) {
		this.cardnumber = cardnumber;
	}

	@Length(min = 0, max = 64, message = "personname长度必须介于 0 和 64 之间")
	public String getPersonname() {
		return personname;
	}

	public void setPersonname(String personname) {
		this.personname = personname;
	}

	@Length(min = 0, max = 64, message = "hashnumber长度必须介于 0 和 64 之间")
	public String getOrgid() {
		return orgid;
	}

	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}

	@Length(min = 0, max = 255, message = "column_3长度必须介于 0 和 255 之间")
	public String getColumn3() {
		return column3;
	}

	public void setColumn3(String column3) {
		this.column3 = column3;
	}

	@Length(min = 0, max = 255, message = "column_4长度必须介于 0 和 255 之间")
	public String getColumn4() {
		return column4;
	}

	public void setColumn4(String column4) {
		this.column4 = column4;
	}

}